import React from "react";
import {Outlet} from 'react-router-dom'
import {useNavigate} from 'react-router-dom'
import { Button } from "antd";
import qs from 'qs'
function Mall() {
    const navigate=useNavigate()
    const handleBtn=()=>{
       navigate({pathname:'/mall/xq',search:qs.stringify({id:'123',name:'qwe'})})
    
    }
    return (
        <div>
            <Outlet/>
            {/* <Button type="primary" onClick={()=>{handleBtn()}}>按钮</Button> */}
        </div>
    )
}
export default Mall